#ifndef _TAROT_TAROTDIVINATIONDIALOG_H
#define _TAROT_TAROTDIVINATIONDIALOG_H

#include <gtk/gtk.h>

class Profile;
class TarotDeck;
class TarotStar;

class TarotDivinationDlg {
private:
	struct {
		GtkWidget *window;
		GtkWidget *profile;
		GtkWidget *tarotdeck;
		GtkWidget *tarotdeckimage;
		GtkWidget *tarotstar;
		GtkWidget *tarotstarimage;
		GtkWidget *mix[3];
	} gtk;

	Profile *sel;
	unsigned int cat;
	Profile *profile;
	TarotDeck *deckSel;
	TarotStar *starSel;

	static gboolean delete_event_callback(GtkWidget *widget,GtkWidget *event,gpointer data);
	static void select_profile_clicked_callback(GtkWidget *widget,gpointer data);
	static void create_profile_clicked_callback(GtkWidget *widget,gpointer data);
	static void ok_clicked_callback(GtkWidget *widget,gpointer data);
	static void cancel_clicked_callback(GtkWidget *widget,gpointer data);

public:
	TarotDivinationDlg(GtkWindow *parent);
	~TarotDivinationDlg();

	void selectProfile(Profile &p);
	void openDivinationPage();
};



#endif /* _TAROT_TAROTDIVINATIONDIALOG_H */


